<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>NPM可用CDN整理和换源方法 | TOM BLOG</title><meta name="keywords" content="杂谈,node,npm"><meta name="author" content="Tom"><meta name="copyright" content="Tom"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="ffffff"><meta name="description" content="NPM更换源，以及博主整理的可用cdn。">
<meta property="og:type" content="article">
<meta property="og:title" content="NPM可用CDN整理和换源方法">
<meta property="og:url" content="https://www.tomsir.top/2022/08/21/Tompost4/index.html">
<meta property="og:site_name" content="TOM BLOG">
<meta property="og:description" content="NPM更换源，以及博主整理的可用cdn。">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pic.rmb.bdstatic.com/bjh/d3b0a8a2a5ea2a338d913e2b86987894.jpeg">
<meta property="article:published_time" content="2022-08-20T17:20:07.000Z">
<meta property="article:modified_time" content="2022-08-21T03:57:19.316Z">
<meta property="article:author" content="Tom">
<meta property="article:tag" content="杂谈">
<meta property="article:tag" content="node">
<meta property="article:tag" content="npm">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://pic.rmb.bdstatic.com/bjh/d3b0a8a2a5ea2a338d913e2b86987894.jpeg"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://www.tomsir.top/2022/08/21/Tompost4/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: {"appId":"M67Q82WUEK","apiKey":"9fba5a4e5393e837ca3733239bd18568","indexName":"tomblog","hits":{"per_page":6},"languages":{"input_placeholder":"搜索文章","hits_empty":"找不到您查询的内容：${query}","hits_stats":"找到 ${hits} 条结果，用时 ${time} 毫秒"}},
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: {"limitCount":30,"languages":{"author":"作者: Tom","link":"链接: ","source":"来源: TOM BLOG","info":"著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。"}},
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isAnchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'NPM可用CDN整理和换源方法',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2022-08-21 11:57:19'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', 'ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><link rel="stylesheet" href="//at.alicdn.com/t/c/font_3527359_8hfpdch2e1d.css"><!-- hexo injector head_end start --><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-card-history/baiduhistory/css/main.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Zfour/hexo-electric-clock@1.0.6/clock.css"><link rel="stylesheet" href="https://npm.elemecdn.com/hexo-butterfly-footer-beautify@1.0.0/lib/runtime.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://npm.elemecdn.com/hexo-butterfly-swiper/lib/swiper.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://npm.elemecdn.com/hexo-butterfly-swiper/lib/swiper.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://npm.elemecdn.com/hexo-butterfly-swiper/lib/swiperstyle.css" media="print" onload="this.media='all'"><!-- hexo injector head_end end --><meta name="generator" content="Hexo 5.4.2"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="https://pic6.58cdn.com.cn/nowater/webim/big/n_v2de3a253974284261b8f1b1e741aa5cf1.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">9</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">24</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">7</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw iconfont icon-shiyongwendang"></i><span> 相关文档</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/Linux/"><i class="fa-fw iconfont icon-linux"></i><span> 安装脚本使用文档</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于本站</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url('https://pic.rmb.bdstatic.com/bjh/d3b0a8a2a5ea2a338d913e2b86987894.jpeg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">TOM BLOG</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw iconfont icon-shiyongwendang"></i><span> 相关文档</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/Linux/"><i class="fa-fw iconfont icon-linux"></i><span> 安装脚本使用文档</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于本站</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">NPM可用CDN整理和换源方法</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2022-08-20T17:20:07.000Z" title="发表于 2022-08-21 01:20:07">2022-08-21</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-08-21T03:57:19.316Z" title="更新于 2022-08-21 11:57:19">2022-08-21</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/%E7%B3%BB%E7%BB%9F%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE/">系统环境配置</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">字数总计:</span><span class="word-count">186</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>1分钟</span></span><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="NPM可用CDN整理和换源方法"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><p>npm的镜像由于默认在国外，被墙等原因所以会导致当我们install之类的时候会出现异常或者速度缓慢，这种情况只需要将源更换成国内的或者其他镜像源的就可以解决了。</p>
<h1 id="更换源的方法"><a href="#更换源的方法" class="headerlink" title="更换源的方法"></a>更换源的方法</h1><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># cnmp改源：</span></span><br><span class="line">npm install -g cnpm --registry=https://registry.npm.taobao.org</span><br><span class="line"><span class="comment"># yarn and npm 改源</span></span><br><span class="line">yarn 和 npm 改源大法</span><br><span class="line">npm config : npm config <span class="built_in">set</span> registry https://registry.npm.taobao.org</span><br><span class="line">yarn config : yarn config <span class="built_in">set</span> registry https://registry.npm.taobao.org</span><br></pre></td></tr></table></figure>



<h1 id="可用npm镜像"><a href="#可用npm镜像" class="headerlink" title="可用npm镜像"></a>可用npm镜像</h1><h2 id="jsDelivr"><a href="#jsDelivr" class="headerlink" title="jsDelivr"></a>jsDelivr</h2><p><a target="_blank" rel="noopener" href="https://cdn.jsdelivr.net/npm">https://cdn.jsdelivr.net/npm</a></p>
<h2 id="unpkg"><a href="#unpkg" class="headerlink" title="unpkg"></a>unpkg</h2><p><a target="_blank" rel="noopener" href="https://unpkg.com/">https://unpkg.com/</a></p>
<h2 id="unpkg-自建"><a href="#unpkg-自建" class="headerlink" title="unpkg 自建"></a>unpkg 自建</h2><p><a target="_blank" rel="noopener" href="https://cdn.cbd.int/">https://cdn.cbd.int</a></p>
<h2 id="npm-element"><a href="#npm-element" class="headerlink" title="npm element"></a>npm element</h2><p><a target="_blank" rel="noopener" href="http://npm.elemecdn.com/">http://npm.elemecdn.com/</a></p>
<h1 id="其他cdn"><a href="#其他cdn" class="headerlink" title="其他cdn"></a>其他cdn</h1><h2 id="bootcdn"><a href="#bootcdn" class="headerlink" title="bootcdn"></a>bootcdn</h2><p><a target="_blank" rel="noopener" href="https://www.bootcdn.cn/">https://www.bootcdn.cn/</a></p>
<h2 id="loli-（cdnjs）"><a href="#loli-（cdnjs）" class="headerlink" title="loli （cdnjs）"></a>loli （cdnjs）</h2><p><a target="_blank" rel="noopener" href="https://cdnjs.loli.net/">https://cdnjs.loli.net/</a></p>
<h2 id="Staticfile"><a href="#Staticfile" class="headerlink" title="Staticfile"></a>Staticfile</h2><p><a target="_blank" rel="noopener" href="https://staticfile.org/">https://staticfile.org/</a></p>
<h2 id="75CDN"><a href="#75CDN" class="headerlink" title="75CDN"></a>75CDN</h2><p><a target="_blank" rel="noopener" href="https://cdn.baomitu.com/">https://cdn.baomitu.com/</a></p>
<h2 id="今日头条-CDN"><a href="#今日头条-CDN" class="headerlink" title="今日头条 CDN"></a>今日头条 CDN</h2><p><a target="_blank" rel="noopener" href="https://cdn.bytedance.com/">https://cdn.bytedance.com/</a></p>
<h2 id="cdnjs"><a href="#cdnjs" class="headerlink" title="cdnjs"></a>cdnjs</h2><p><a target="_blank" rel="noopener" href="https://cdnjs.com/">https://cdnjs.com/</a></p>
<hr>
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=1336575693&auto=1&height=66"></iframe>

<h1 style="color: red; font-size:20px;text-align:center; padding:0;margin:0;">创作不易，且行且珍惜。</h1>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="https://www.Tomsir.top">Tom</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://www.tomsir.top/2022/08/21/Tompost4/">https://www.tomsir.top/2022/08/21/Tompost4/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://www.Tomsir.top" target="_blank">TOM BLOG</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/%E6%9D%82%E8%B0%88/">杂谈</a><a class="post-meta__tags" href="/tags/node/">node</a><a class="post-meta__tags" href="/tags/npm/">npm</a></div><div class="post_share"><div class="social-share" data-image="https://pic.rmb.bdstatic.com/bjh/d3b0a8a2a5ea2a338d913e2b86987894.jpeg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/js/social-share.min.js" defer></script></div></div><div class="post-reward"><div class="reward-button"><i class="fas fa-qrcode"></i> 打赏</div><div class="reward-main"><ul class="reward-all"><li class="reward-item"><a href="https://pic.rmb.bdstatic.com/bjh/1603c4a0bf144b8296f2870dc120f5e4.jpeg" target="_blank"><img class="post-qr-code-img" src="https://pic.rmb.bdstatic.com/bjh/1603c4a0bf144b8296f2870dc120f5e4.jpeg" alt="推荐使用支付宝"/></a><div class="post-qr-code-desc">推荐使用支付宝</div></li></ul></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/2022/08/21/Tompost6/"><img class="prev-cover" src="https://pic.rmb.bdstatic.com/bjh/d94a85b170b2641b3c3f456a3b95351b.png" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">Vue中常用的修饰符</div></div></a></div><div class="next-post pull-right"><a href="/2022/08/13/Tompost3/"><img class="next-cover" src="https://pic.rmb.bdstatic.com/bjh/3b9a45b0dd8528c752bc347737505393.png" onerror="onerror=null;src='/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">Vue2+Vue3专属技术板块成立</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/2022/08/21/Tompost5/" title="为什么越来越多的网站加入了HTTPS加密?(深入了解HTTPS)转载CSDN"><img class="cover" src="https://pic.rmb.bdstatic.com/bjh/df4abbc5aa599ebc331c51be1c32e580.jpeg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-08-21</div><div class="title">为什么越来越多的网站加入了HTTPS加密?(深入了解HTTPS)转载CSDN</div></div></a></div></div></div><hr/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div id="gitalk-container"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="https://pic6.58cdn.com.cn/nowater/webim/big/n_v2de3a253974284261b8f1b1e741aa5cf1.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">Tom</div><div class="author-info__description">以他人为镜，以自身为尺。</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">9</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">24</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">7</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://qm.qq.com/cgi-bin/qm/qr?k=58ymKBM4HiQT8XFSaCbYJa0qEuJKZEqt&amp;noverify=0"><i class="fab fa-qq"></i><span>Contact Me</span></a></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">博客基本功能已经完善。文章持续更新中........</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#%E6%9B%B4%E6%8D%A2%E6%BA%90%E7%9A%84%E6%96%B9%E6%B3%95"><span class="toc-number">1.</span> <span class="toc-text">更换源的方法</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%8F%AF%E7%94%A8npm%E9%95%9C%E5%83%8F"><span class="toc-number">2.</span> <span class="toc-text">可用npm镜像</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#jsDelivr"><span class="toc-number">2.1.</span> <span class="toc-text">jsDelivr</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#unpkg"><span class="toc-number">2.2.</span> <span class="toc-text">unpkg</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#unpkg-%E8%87%AA%E5%BB%BA"><span class="toc-number">2.3.</span> <span class="toc-text">unpkg 自建</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#npm-element"><span class="toc-number">2.4.</span> <span class="toc-text">npm element</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%85%B6%E4%BB%96cdn"><span class="toc-number">3.</span> <span class="toc-text">其他cdn</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#bootcdn"><span class="toc-number">3.1.</span> <span class="toc-text">bootcdn</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#loli-%EF%BC%88cdnjs%EF%BC%89"><span class="toc-number">3.2.</span> <span class="toc-text">loli （cdnjs）</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Staticfile"><span class="toc-number">3.3.</span> <span class="toc-text">Staticfile</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#75CDN"><span class="toc-number">3.4.</span> <span class="toc-text">75CDN</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E4%BB%8A%E6%97%A5%E5%A4%B4%E6%9D%A1-CDN"><span class="toc-number">3.5.</span> <span class="toc-text">今日头条 CDN</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#cdnjs"><span class="toc-number">3.6.</span> <span class="toc-text">cdnjs</span></a></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link"><span class="toc-number">4.</span> <span class="toc-text">创作不易，且行且珍惜。</span></a></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2022/12/18/Tompost9/" title="Linux运行javac无法找到此命令，运行class文件显示无法加载类"><img src="https://pic3.58cdn.com.cn/nowater/webim/big/n_v202b47709aefb4d7a96409b0094ec9233.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Linux运行javac无法找到此命令，运行class文件显示无法加载类"/></a><div class="content"><a class="title" href="/2022/12/18/Tompost9/" title="Linux运行javac无法找到此命令，运行class文件显示无法加载类">Linux运行javac无法找到此命令，运行class文件显示无法加载类</a><time datetime="2022-12-18T15:29:57.000Z" title="发表于 2022-12-18 23:29:57">2022-12-18</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2022/09/06/Tompost8/" title="Python常用组件、命令大总结(转自CSDN收费资源)"><img src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fss2.meipian.me%2Fusers%2F60316599%2Feb661400-2bd7-11ea-9c18-19e1c331991e.png%3Fmeipian-raw%2Fbucket%2Fivwen%2Fkey%2FdXNlcnMvNjAzMTY1OTkvZWI2NjE0MDAtMmJkNy0xMWVhLTljMTgtMTllMWMzMzE5OTFlLnBuZw%3D%3D%2Fsign%2Fbe170899efe4bb6a194791b0573f947e.jpg&amp;refer=http%3A%2F%2Fss2.meipian.me&amp;app=2002&amp;size=f9999,10000&amp;q=a80&amp;n=0&amp;g=0n&amp;fmt=auto?sec=1665068039&amp;t=d0985dd7a1ca9ef4b6a14e3ca1e86759" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Python常用组件、命令大总结(转自CSDN收费资源)"/></a><div class="content"><a class="title" href="/2022/09/06/Tompost8/" title="Python常用组件、命令大总结(转自CSDN收费资源)">Python常用组件、命令大总结(转自CSDN收费资源)</a><time datetime="2022-09-05T19:29:57.000Z" title="发表于 2022-09-06 03:29:57">2022-09-06</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2022/08/21/Tompost5/" title="为什么越来越多的网站加入了HTTPS加密?(深入了解HTTPS)转载CSDN"><img src="https://pic.rmb.bdstatic.com/bjh/df4abbc5aa599ebc331c51be1c32e580.jpeg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="为什么越来越多的网站加入了HTTPS加密?(深入了解HTTPS)转载CSDN"/></a><div class="content"><a class="title" href="/2022/08/21/Tompost5/" title="为什么越来越多的网站加入了HTTPS加密?(深入了解HTTPS)转载CSDN">为什么越来越多的网站加入了HTTPS加密?(深入了解HTTPS)转载CSDN</a><time datetime="2022-08-20T19:29:57.000Z" title="发表于 2022-08-21 03:29:57">2022-08-21</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2022/08/21/Tompost7/" title="Vue实现用户名输入首字母检查"><img src="https://pic.rmb.bdstatic.com/bjh/a94d99854b04dac78acf111ad32c5b53.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Vue实现用户名输入首字母检查"/></a><div class="content"><a class="title" href="/2022/08/21/Tompost7/" title="Vue实现用户名输入首字母检查">Vue实现用户名输入首字母检查</a><time datetime="2022-08-20T19:29:57.000Z" title="发表于 2022-08-21 03:29:57">2022-08-21</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2022/08/21/Tompost6/" title="Vue中常用的修饰符"><img src="https://pic.rmb.bdstatic.com/bjh/d94a85b170b2641b3c3f456a3b95351b.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Vue中常用的修饰符"/></a><div class="content"><a class="title" href="/2022/08/21/Tompost6/" title="Vue中常用的修饰符">Vue中常用的修饰符</a><time datetime="2022-08-20T19:29:57.000Z" title="发表于 2022-08-21 03:29:57">2022-08-21</time></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('https://pic.rmb.bdstatic.com/bjh/d3b0a8a2a5ea2a338d913e2b86987894.jpeg')"><div id="footer-wrap"><div class="copyright">&copy;2022 By Tom</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="algolia-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="search-wrap"><div id="algolia-search-input"></div><hr/><div id="algolia-search-results"><div id="algolia-hits"></div><div id="algolia-pagination"></div><div id="algolia-info"><div class="algolia-stats"></div><div class="algolia-poweredBy"></div></div></div></div></div><div id="search-mask"></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/algoliasearch/dist/algoliasearch-lite.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/instantsearch.js/dist/instantsearch.production.min.js"></script><script src="/js/search/algolia.js"></script><script>var preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',preloader.endLoading())</script><div class="js-pjax"><script>function addGitalkSource () {
  const ele = document.createElement('link')
  ele.rel = 'stylesheet'
  ele.href= 'https://cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.css'
  document.getElementsByTagName('head')[0].appendChild(ele)
}

function loadGitalk () {
  function initGitalk () {
    var gitalk = new Gitalk(Object.assign({
      clientID: '601cd01f7ce3ce1ac556',
      clientSecret: '2ba509b877c744155414cd40ef6f6e1eb9a48f48',
      repo: 'blogpl',
      owner: '2732335411',
      admin: ['2732335411'],
      id: '0f87e1310049093e2391a5de25a50301',
      updateCountCallback: commentCount
    },null))

    gitalk.render('gitalk-container')
  }

  if (typeof Gitalk === 'function') initGitalk()
  else {
    addGitalkSource()
    getScript('https://cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js').then(initGitalk)
  }
}

function commentCount(n){
  let isCommentCount = document.querySelector('#post-meta .gitalk-comment-count')
  if (isCommentCount) {
    isCommentCount.innerHTML= n
  }
}

if ('Gitalk' === 'Gitalk' || !false) {
  if (false) btf.loadComment(document.getElementById('gitalk-container'), loadGitalk)
  else loadGitalk()
} else {
  function loadOtherComment () {
    loadGitalk()
  }
}</script></div><script defer="defer" id="ribbon" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-ribbon.min.js" size="150" alpha="0.6" zIndex="-1" mobile="true" data-click="true"></script><script id="click-heart" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/click-heart.min.js" async="async" mobile="false"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div><!-- hexo injector body_end start --><script data-pjax>function history_calendar_injector_config(){
                var parent_div_git = document.getElementsByClassName('sticky_layout')[0];
                var item_html = '<div class="card-widget card-history"><div class="card-content"><div class="item-headline"><i class="fas fa-clock fa-spin"></i><span>那年今日</span></div><div id="history-baidu" style="height: 100px;overflow: hidden"><div class="history_swiper-container" id="history-container" style="width: 100%;height: 100%"><div class="swiper-wrapper" id="history_container_wrapper" style="height:20px"></div></div></div></div>';
                console.log('已挂载history_calendar')
                // parent_div_git.innerHTML=item_html+parent_div_git.innerHTML // 无报错，但不影响使用(支持pjax跳转)
                parent_div_git.insertAdjacentHTML("afterbegin",item_html) // 有报错，但不影响使用(支持pjax跳转)
            }if( document.getElementsByClassName('sticky_layout')[0] && (location.pathname ==='all'|| 'all' ==='all')){

            history_calendar_injector_config()
        } </script><script data-pjax src="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-card-history/baiduhistory/js/main.js"></script><script data-pjax>function electric_clock_injector_config(){
                var parent_div_git = document.getElementsByClassName('sticky_layout')[0];
                var item_html = '<div class="card-widget card-clock"><div class="card-glass"><div class="card-background"><div class="card-content"><div id="hexo_electric_clock"><img id="card-clock-loading" src="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-clock/clock/images/weather/loading.gif" style="height: 120px; width: 100%;" data-ll-status="loading" class="entered loading"></div></div></div></div></div>';
                console.log('已挂载electric_clock')
                // parent_div_git.innerHTML=item_html+parent_div_git.innerHTML // 无报错，但不影响使用(支持pjax跳转)
                parent_div_git.insertAdjacentHTML("afterbegin",item_html) // 有报错，但不影响使用(支持pjax跳转)
            }if( document.getElementsByClassName('sticky_layout')[0] && (location.pathname ==='all'|| 'all' ==='all')){

            electric_clock_injector_config()
        } </script><script src="https://pv.sohu.com/cityjson?ie=utf-8"></script><script data-pjax  src="https://cdn.jsdelivr.net/gh/Zfour/hexo-electric-clock@1.0.6/clock.js"></script><script data-pjax>
  function butterfly_footer_beautify_injector_config(){
    var parent_div_git = document.getElementById('footer-wrap');
    var item_html = '<div id="workboard"></div><div id="ghbdages" style="overflow:hidden;max-height:90px;height:auto;text-align:center;margin-top:10px"><div class="swiper-wrapper"><div class="swiper-slide"><a class="github-badge" target="_blank" href="https://hexo.io/" style="margin-inline:5px" title="博客框架为Hexo_v5.4.0"><img src="https://img.shields.io/badge/Frame-Hexo-blue?style=flat&amp;logo=hexo" alt=""/></a><a class="github-badge" target="_blank" href="https://butterfly.js.org/" style="margin-inline:5px" title="主题版本Butterfly_v3.8.2"><img src="https://img.shields.io/badge/Theme-Butterfly-6513df?style=flat&amp;logo=bitdefender" alt=""/></a><a class="github-badge" target="_blank" href="https://www.jsdelivr.com/" style="margin-inline:5px" title="本站使用JsDelivr为静态资源提供CDN加速"><img src="https://img.shields.io/badge/CDN-jsDelivr-orange?style=flat&amp;logo=jsDelivr" alt=""/></a></div><div class="swiper-slide"><a class="github-badge" target="_blank" href="https://vercel.com/" style="margin-inline:5px" title="本站采用双线部署，默认线路托管于Vercel"><img src="https://img.shields.io/badge/Hosted-Vercel-brightgreen?style=flat&amp;logo=Vercel" alt=""/></a><a class="github-badge" target="_blank" href="https://vercel.com/" style="margin-inline:5px" title="本站采用双线部署，联通线路托管于Coding"><img src="https://img.shields.io/badge/Hosted-Coding-0cedbe?style=flat&amp;logo=Codio" alt=""/></a><a class="github-badge" target="_blank" href="https://github.com/" style="margin-inline:5px" title="本站项目由Github托管"><img src="https://img.shields.io/badge/Source-Github-d021d6?style=flat&amp;logo=GitHub" alt=""/></a></div><div class="swiper-slide"><a class="github-badge" target="_blank" href="http://creativecommons.org/licenses/by-nc-sa/4.0/" style="margin-inline:5px" title="本站采用知识共享署名-非商业性使用-相同方式共享4.0国际许可协议进行许可"><img src="https://img.shields.io/badge/Copyright-BY--NC--SA%204.0-d42328?style=flat&amp;logo=Claris" alt=""/></a></div></div></div><style>a.github-badge:hover:before {display:none}</style>';
    console.log('已挂载butterfly_footer_beautify')
    parent_div_git.insertAdjacentHTML("beforeend",item_html)
    }
  var elist = 'null'.split(',');
  var cpage = location.pathname;
  var epage = 'all';
  var flag = 0;

  for (var i=0;i<elist.length;i++){
    if (cpage.includes(elist[i])){
      flag++;
    }
  }

  if ((epage ==='all')&&(flag == 0)){
    butterfly_footer_beautify_injector_config();
  }
  else if (epage === cpage){
    butterfly_footer_beautify_injector_config();
  }
  </script><script async src="https://npm.elemecdn.com/hexo-butterfly-footer-beautify@1.0.0/lib/runtime.js"></script><script defer src="https://npm.elemecdn.com/hexo-butterfly-swiper/lib/swiper.min.js"></script><script defer data-pjax src="https://npm.elemecdn.com/hexo-butterfly-footer-beautify/lib/swiperbdage_init.min.js"></script><script data-pjax>
  function butterfly_swiper_injector_config(){
    var parent_div_git = document.getElementById('recent-posts');
    var item_html = '<div class="recent-post-item" style="height: auto;width: 100%"><div class="blog-slider swiper-container-fade swiper-container-horizontal" id="swiper_container"><div class="blog-slider__wrp swiper-wrapper" style="transition-duration: 0ms;"><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" href="2022/12/18/Tompost9/" alt=""><img width="48" height="48" src="https://pic3.58cdn.com.cn/nowater/webim/big/n_v202b47709aefb4d7a96409b0094ec9233.jpg" alt="" onerror="this.src=https://unpkg.zhimg.com/akilar-candyassets/image/loading.gif; this.onerror = null;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-12-18</span><a class="blog-slider__title" href="2022/12/18/Tompost9/" alt="">Linux运行javac无法找到此命令，运行class文件显示无法加载类</a><div class="blog-slider__text">linux中运行javac报错无此命令，运行class文件显示无法加载类</div><a class="blog-slider__button" href="2022/12/18/Tompost9/" alt="">详情   </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" href="2022/09/06/Tompost8/" alt=""><img width="48" height="48" src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fss2.meipian.me%2Fusers%2F60316599%2Feb661400-2bd7-11ea-9c18-19e1c331991e.png%3Fmeipian-raw%2Fbucket%2Fivwen%2Fkey%2FdXNlcnMvNjAzMTY1OTkvZWI2NjE0MDAtMmJkNy0xMWVhLTljMTgtMTllMWMzMzE5OTFlLnBuZw%3D%3D%2Fsign%2Fbe170899efe4bb6a194791b0573f947e.jpg&amp;refer=http%3A%2F%2Fss2.meipian.me&amp;app=2002&amp;size=f9999,10000&amp;q=a80&amp;n=0&amp;g=0n&amp;fmt=auto?sec=1665068039&amp;t=d0985dd7a1ca9ef4b6a14e3ca1e86759" alt="" onerror="this.src=https://unpkg.zhimg.com/akilar-candyassets/image/loading.gif; this.onerror = null;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-09-06</span><a class="blog-slider__title" href="2022/09/06/Tompost8/" alt="">Python常用组件、命令大总结(转自CSDN收费资源)</a><div class="blog-slider__text">从CSDN白嫖来的付费资源，供各位CV大师门使用</div><a class="blog-slider__button" href="2022/09/06/Tompost8/" alt="">详情   </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" href="2022/08/21/Tompost7/" alt=""><img width="48" height="48" src="https://pic.rmb.bdstatic.com/bjh/a94d99854b04dac78acf111ad32c5b53.png" alt="" onerror="this.src=https://unpkg.zhimg.com/akilar-candyassets/image/loading.gif; this.onerror = null;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-08-21</span><a class="blog-slider__title" href="2022/08/21/Tompost7/" alt="">Vue实现用户名输入首字母检查</a><div class="blog-slider__text">检查用户名是否为字母开头，以及思路和注意的小细节。</div><a class="blog-slider__button" href="2022/08/21/Tompost7/" alt="">详情   </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" href="2022/08/21/Tompost6/" alt=""><img width="48" height="48" src="https://pic.rmb.bdstatic.com/bjh/d94a85b170b2641b3c3f456a3b95351b.png" alt="" onerror="this.src=https://unpkg.zhimg.com/akilar-candyassets/image/loading.gif; this.onerror = null;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-08-21</span><a class="blog-slider__title" href="2022/08/21/Tompost6/" alt="">Vue中常用的修饰符</a><div class="blog-slider__text">Vue中常用的事件修饰符，阻止冒泡、阻止默认行为、事件只触发一次，以及不常用的事件修饰符</div><a class="blog-slider__button" href="2022/08/21/Tompost6/" alt="">详情   </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" href="2022/08/21/Tompost5/" alt=""><img width="48" height="48" src="https://pic.rmb.bdstatic.com/bjh/df4abbc5aa599ebc331c51be1c32e580.jpeg" alt="" onerror="this.src=https://unpkg.zhimg.com/akilar-candyassets/image/loading.gif; this.onerror = null;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-08-21</span><a class="blog-slider__title" href="2022/08/21/Tompost5/" alt="">为什么越来越多的网站加入了HTTPS加密?(深入了解HTTPS)转载CSDN</a><div class="blog-slider__text">深入了解https，ssl加密原理，什么是握手等。</div><a class="blog-slider__button" href="2022/08/21/Tompost5/" alt="">详情   </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" href="2022/08/21/Tompost4/" alt=""><img width="48" height="48" src="https://pic.rmb.bdstatic.com/bjh/d3b0a8a2a5ea2a338d913e2b86987894.jpeg" alt="" onerror="this.src=https://unpkg.zhimg.com/akilar-candyassets/image/loading.gif; this.onerror = null;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-08-21</span><a class="blog-slider__title" href="2022/08/21/Tompost4/" alt="">NPM可用CDN整理和换源方法</a><div class="blog-slider__text">NPM更换源，以及博主整理的可用cdn。</div><a class="blog-slider__button" href="2022/08/21/Tompost4/" alt="">详情   </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" href="2022/08/12/Tompost2/" alt=""><img width="48" height="48" src="https://pic.rmb.bdstatic.com/bjh/c4b3b6fa9078cfc91ed09feb7abb8756.png" alt="" onerror="this.src=https://unpkg.zhimg.com/akilar-candyassets/image/loading.gif; this.onerror = null;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-08-12</span><a class="blog-slider__title" href="2022/08/12/Tompost2/" alt="">RAMmap(备用内存清理)</a><div class="blog-slider__text">解决开机内存占用大(非正常程序占用，包括开启启动项大等)，有效解决windows电脑备用内存分配不合理情况。</div><a class="blog-slider__button" href="2022/08/12/Tompost2/" alt="">详情   </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" href="2022/08/03/Tompost1/" alt=""><img width="48" height="48" src="https://pic.rmb.bdstatic.com/bjh/148e2f4d50a85f82200b2570eab5e1da.jpeg" alt="" onerror="this.src=https://unpkg.zhimg.com/akilar-candyassets/image/loading.gif; this.onerror = null;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-08-03</span><a class="blog-slider__title" href="2022/08/03/Tompost1/" alt="">Linux+Python实现录取通知书发放云端监控</a><div class="blog-slider__text">巧用编程语言来解决生活中的问题，python在服务器中监控数据是否有更新，第一时间通知到本人</div><a class="blog-slider__button" href="2022/08/03/Tompost1/" alt="">详情   </a></div></div></div><div class="blog-slider__pagination swiper-pagination-clickable swiper-pagination-bullets"></div></div></div>';
    console.log('已挂载butterfly_swiper')
    parent_div_git.insertAdjacentHTML("afterbegin",item_html)
    }
  var elist = 'undefined'.split(',');
  var cpage = location.pathname;
  var epage = 'all';
  var flag = 0;

  for (var i=0;i<elist.length;i++){
    if (cpage.includes(elist[i])){
      flag++;
    }
  }

  if ((epage ==='all')&&(flag == 0)){
    butterfly_swiper_injector_config();
  }
  else if (epage === cpage){
    butterfly_swiper_injector_config();
  }
  </script><script defer src="https://npm.elemecdn.com/hexo-butterfly-swiper/lib/swiper.min.js"></script><script defer data-pjax src="https://npm.elemecdn.com/hexo-butterfly-swiper/lib/swiper_init.js"></script><!-- hexo injector body_end end --><script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"jsonPath":"/live2dw/assets/hijiki.model.json"},"display":{"position":"left","width":150,"height":250},"mobile":null,"log":false});</script></body></html>